<?php

interface IDb {

    public function getConnection($StHost, $StUser, $StPass, $StDatabase);
    public function selectDb();
    public function close();
    public function exec($query);
    public function escape(&$MxValue);
    public function fetchAll();
    public function numRows();
    public function result($ItRow, $StField = false);
    public function lastInsertId();
    public function affectedRows();
    public function lastQueryReturn();
    public function beginTransaction();
    public function endTransaction();
    public function lastTransactionReturn();

}

?>
